﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CanDoo.Oil.Core.Models;


namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 结算单列表专用实体
    /// </summary>
    public class StatementDetailItem
    {
        /// <summary>
        /// Id
        /// </summary>
        [Display(Name = "数据Id")]
        public string Id { get; set; }


        /// <summary>
        /// 单据号
        /// </summary>
        [Display(Name = "单据号")]
        public string Code { get; set; }

        /// <summary>
        /// 应付/应收单
        /// </summary>
        [Display(Name = "应付/应收单")]
        public string Name { get; set; }

        /// <summary>
        /// 应收/应付单Id
        /// </summary>
        [Display(Name = "应收/应付单Id")]
        public string BillId { get; set; }

        /// <summary>
        /// 应收/应付日期
        /// </summary>
        [Display(Name = "应收/应付单日期")]
        public DateTime? NeedDate { get; set; }

        /// <summary>
        /// 账单创建日期
        /// </summary>
        [Display(Name = "立账日期")]
        public DateTime? CreatedDate { get; set; }


        /// <summary>
        /// 立账金额
        /// </summary>
        [Display(Name = "立账金额")]
        public double? Money { get; set; }

        /// <summary>
        /// 已冲账金额
        /// </summary>
        [Display(Name = "已冲账金额")]
        public double? PayedMoney { get; set; }

        /// <summary>
        /// 未冲账金额
        /// </summary>
        [Display(Name = "未冲账金额")]
        public double? WaitMoney { get; set; }

        /// <summary>
        /// 本次支付金额
        /// </summary>
        [Display(Name = "本次支付金额")]
        public double? thisPayMoney { get; set; }

        /// <summary>
        /// 本次支付后余额
        /// </summary>
        [Display(Name = "本次支付后余额")]
        public double? thisPayedLastMonoey { get; set; }
    }
}
